<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;

class Sjrecord extends Model
{

    protected $guarded = [];
    protected $table = 'sjrecords';
    public $timestamps = false;

    public function bespeak(){
        return $this->belongsTo('App\Models\Bespeak');
    }
    public function oncustomer(){
        return $this->belongsTo('App\Models\Oncustomer');
    }

    public function fixfxs(){
        return $this->belongsTo('App\Models\Fixfxs');
    }
    public function bespeakcate(){
        return $this->belongsTo('App\Models\Bespeakcate','bcate_id','id');
    }
    public function store(){
        return $this->belongsTo('App\Models\Store');
    }
    public function sjorder(){
        return $this->belongsTo('App\Models\Sjorder');
    }



}
